﻿@model RBS.Core.Model.SYS_DictInfo

@{
    ViewBag.Title = "数据字典";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

 <!--导航栏-->
<div class="location">
      <a href="@Url.Action("DictInfoIndex","Sys")" class="back"><i></i><span>返回列表页</span></a>
   <a href="@Url.Action("Main","Home")" class="home"><i></i><span>首页</span></a>
    <i class="arrow"></i>
    <a href="@Url.Action("DictInfoIndex","Sys")" ><span>数据字典</span></a>
    <i class="arrow"></i>
    <span>编辑数据字典</span>
</div>
<div class="line10"></div>
<!--/导航栏-->

<!--内容-->
<div class="content-tab-wrap">
    <div id="floatHead" class="content-tab">
        <div class="content-tab-ul-wrap">
            <ul>
                <li><a href="javascript:;" onclick="tabs(this);" class="selected">编辑数据字典</a></li>
            </ul>
        </div>
    </div>
</div>
@using (Html.BeginForm())
{
     @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
     
    <div class="tab-content">
        <dl>
            <dt>上级字典</dt>
            <dd>
                <div class="rule-single-select">
                    @Html.DropDownList("ParentId")
                   @Html.ValidationMessageFor(model => model.ParentID)
                </div>
            </dd>
        </dl> 
        <dl>
            <dt>名称</dt>
            <dd>
               
                @Html.TextBoxFor(model => model.DictName,new {@class="input normal", datatype = "*"}) 
                @Html.ValidationMessageFor(model => model.DictName)
                <span class="Validform_checktip">*字母、下划线，不可修改</span></dd>
        </dl>
        <dl>
            <dt>代码</dt>
            <dd>
               @Html.TextBoxFor(model => model.DictCode,new {@class="input normal", datatype = "*"})  
                @Html.ValidationMessageFor(model => model.DictCode)
                <span class="Validform_checktip">*</span></dd>
        </dl> 
        <dl>
            <dt>排序</dt>
            <dd>
               @Html.TextBoxFor(model => model.Sequence,new {@class="input small", datatype = "n"})   
                @Html.ValidationMessageFor(model => model.Sequence)
                  
            </dd>
        </dl>
        <dl>
            <dt>SQLCMD</dt>
            <dd>
                <asp:textbox id="txtTelephone" runat="server" cssclass="input normal"></asp:textbox>
                
                 @Html.TextArea("SQLCMD",new {@class="input normal"})
                @Html.ValidationMessageFor(model => model.SQLCMD)
            </dd>
        </dl>
        <dl>
            <dt>备注</dt>
            <dd>
                @Html.TextArea("Remark",new {@class="input normal"}) 
                @Html.ValidationMessageFor(model => model.Remark)
            </dd>
        </dl>
            <div style="display: none">  
            @Html.EditorFor(model => model.DictID) 
            @Html.EditorFor(model => model.DictType)  
            @Html.EditorFor(model => model.LastUpdateUserName)
            @Html.EditorFor(model => model.LastUpdateUserFullName)
            @Html.EditorFor(model => model.LastUpdateTime)
            @Html.EditorFor(model => model.CreateUserName)
            @Html.EditorFor(model => model.CreateUserFullName)
            @Html.EditorFor(model => model.CreateDateTime) 
    </div>
 
    </div>
    <!--/内容-->

    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list">
            <input type="submit" value="提交保存" class="btn" />
            <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />
             </div>
        <div class="clear"></div>
    </div> 
}
 
 

